$GLOBAL = {};

(function() {
	var __debug_mode = Session.debug;
	var __domain = "http://static.tbole.com";
	var __version = "10112";
	
	var url = "";
	if(__debug_mode) {
		url = __domain + "/lint/compress.php?id=" + Session.pageId;// + "&r=" + new Date().getTime();
	}
	else {
		url = __domain + "/lint/page/" + Session.pageId + ".js?" + __version;
	}
	
	var tag = document.createElement("script");
	tag.src = url;
	tag.type = "text/javascript";
    tag.charset = "gbk";
	document.body.appendChild(tag);
})();

(function() {
    var imgArray = document.getElementsByTagName("img");
    var length = imgArray.length;
    for(var i=0;i<length;i++) {
        if(imgArray[i].src.indexOf("1x1")>-1 && imgArray[i].name) {
            imgArray[i].src = imgArray[i].name;
        }
    }
})();

var messageTrans = function(mid) {};
var messageComment = function(mid) {};
